<template>
	<view class="contain">
		<view class="adindex" >
			<view class="left">
				<view class="huititle">
					信息提醒
				</view>
				<view class="huitxt">
					开启消息提醒
				</view>
				
			</view>
			
			<u-switch v-model="changeSwich1" :inactiveValue="0"
				:activeValue="1" inactiveColor="#888EB6" size="20" activeColor="#7BF0D9"
				@change="change"></u-switch>
		</view>
		<view class="adindex" >
			<view class="left">
				<view class="huititle">
					定期免打扰
				</view>
				<view class="huitxt">
					(23:00-7:00不提醒)
				</view> 
				
			</view>
			
			<u-switch v-model="changeSwich2" :inactiveValue="0"
				:activeValue="1" inactiveColor="#888EB6" size="20" activeColor="#7BF0D9"
				@change="change"></u-switch>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				changeSwich1:true,
				changeSwich2:false
			}
		},
		methods: {
			change(){}
		}
	}
</script>

<style lang="scss">
page{
	background: rgba(242, 245, 242, 1);
}
.contain{
	width: 700rpx;
	margin: 20rpx auto;
	border-radius: 16px;
}
.adindex {
			padding: 0 36rpx 0 20rpx;
			height: 120rpx;
			border-radius: 4px;
			// background: linear-gradient(180deg, #BABDCC 0%, #A9ABC3 100%);
			background: #fff;
			display: flex;
			align-items: center;
			justify-content: space-between;
			&:first-child{
				border-bottom: 1px solid rgba(153, 153, 153, 0.1);
			}
			.left {
				padding: 0 20rpx 0 0;

				.huititle {
					font-size: 28rpx;
					font-weight: bold;
					letter-spacing: 0em;
					color: #3D3D3D;
					text-shadow: 0px 8px 20px 0px #2EC28F;
					padding-bottom: 12rpx;
				}

				.huitxt {
					font-size: 20rpx;
					color: #999999;
					text-shadow: 0px 8px 20px 0px #2EC28F;
				}
			}
		}
</style>
